package com.ruoyi.common.core.domain.model;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.util.Map;

/**
 * 访问记录查询条件
 *
 * @author dyy
 * @date 2023/07/27
 */
public class AccessLogQuery {


    private String pageType;
    /**
     * 目前 只支持 日/周/月
     * day/week/month
     */
    private String dateType;

    /** 请求参数 */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Map<String, Object> params;

    public String getPageType() {
        return pageType;
    }

    public void setPageType(String pageType) {
        this.pageType = pageType;
    }

    public String getDateType() {
        return dateType;
    }

    public void setDateType(String dateType) {
        this.dateType = dateType;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    @Override
    public String toString() {
        return "AccessLogQueryVO{" +
                "pageType='" + pageType + '\'' +
                ", dateType='" + dateType + '\'' +
                ", params=" + params +
                '}';
    }
}
